<?php
/*
	辅助插件
*/
defined('BY_JYA') or exit('error');
$list = array(
	array('title'=>'运营工具','list'=>array(
		array('name'=>'jy_xiaoelive','title'=>'小鹅共享直播','desc'=>'小鹅共享直播！','icon'=>''),
		array('name'=>'jy_xiaoeapplive','title'=>'小鹅小程序直播','desc'=>'小鹅小程序直播','icon'=>''),
		array('name'=>'jy_xiaoemerch','title'=>'小鹅多商户版','desc'=>'每个商户都有自己的小鹅通！','icon'=>''),
	)),
);
foreach($list as &$type){
	foreach($type['list'] as &$p){
		$install = check_permission($p['name']);
		if($install){
			$p['is_install'] = 1;
			$p['is_show'] = 1;
		}else{
			$p['is_install'] = 0;
			$p['is_show'] = 0;
			if($_SESSION['isfounder']){
				$p['is_show'] = 1;
			}
		}
		
	}
}

return  $list;